<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title> - 文章管理 - 后台管理</title>



<link href="static/css/bass.css" rel="stylesheet" type="text/css">
<script src="static/js/jquery.js" type="text/javascript"></script>


</head>

<body>
<div class="pageHeader">
	<h3><i class="fa fa-table"></i> 网站配置</h3>
    <div class="fr">
    	<a href="javascript:history.go(-1);location.reload();" class="btn">返回</a>    
    </div>
</div>



<div class="fromBody">
<form action="?dopost=save" method="post" class="form-validate">
	<table width="100%" class="tableAAA">
  		  <tr>
          <th align="right" valign="top" width="150">网站名称：</th>
          <td>
          <input type="text" name="webname" value="<?php echo $cfg['webname']?>" class="input-xlarge"  data-rule-required="true"/>
          
          </td>
        </tr>



        <tr>
          <th align="right" valign="top" width="150">首页模板:</th>
          <td>
          <input type="text" name="indextemp" value="<?php echo $cfg['indextemp']?>" class="input-xlarge"  data-rule-required="true"/>
          
          </td>
        </tr>

        

        </tr>
        <tr>
          <th align="right" valign="top">网站logo：</th>
          <td>
            <div kindeditor="uploadpic" class="uploadpic">
            	
          	  <img src="<?php echo $cfg['logo']?>" keimg="" style="max-width:100px; max-height:100px;">
              <button type="button" kebtn="">上传图片</button>
              <input type="hidden" name="logo" value="<?php echo $cfg['logo']?>" keipt="" class="input-xlarge">
  		      </div>
          
          </td>
        </tr>
       

        
        <tr>
          <th align="right" valign="top">网站关键字:</th>
          <td><textarea name="keywords"  style="width:80%;" rows="2"><?php echo $cfg['keywords']?></textarea></td>
        </tr>
        <tr>
          <th align="right" valign="top">网站描述:</th>
          <td><textarea name="description"  style="width:80%;" rows="3"><?php echo $cfg['description']?></textarea></td>
        </tr>
        <tr>
          <th align="right" valign="top">网站footer:</th>
          <td><textarea name="footer" kindeditor style="width:80%; min-width:700px;height:400px;_visibility:hidden;"><?php echo $cfg['footer']?></textarea></td>
        </tr>
        <tr>
          <th align="right" valign="top">&nbsp;</th>
          <td>
          <input type="submit" value="提交" class="btn  btn-primary">
          &nbsp;
          <a class="btn" href="Javascript:window.history.go(-1)"> 取消</a>
          </td>
        </tr>
    </table>
    <div style="height:300px;"></div>
</form>
</div>
<div class="pages">
<!--此处显示分页代码-->
</div>



<!-- 插件 -->
<script src="static/lib/My97DatePicker/WdatePicker.js"></script>

<script src="static/lib/validate/jquery.validate.js"></script>
<script src="static/lib/validate/additional-methods.js"></script>

<link href="static/lib/jbox/Metro/jbox.css" rel="stylesheet"/>
<script src="static/lib/jbox/jquery.jBox.js"></script>

<link rel="stylesheet" href="static/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="static/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="static/kindeditor/kindeditor-lrxin.js"></script>

<script src="static/js/lrxin-form.js"></script>








</body>
</html>